package io.adrainty.bolee.security.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;

/**
 *
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/10 上午12:16
 */

@Data
@Builder
@Schema(description = "角色资源关系表")
@EqualsAndHashCode(callSuper = true)
@TableName("tab_role_resource")
@NoArgsConstructor
@AllArgsConstructor
public class RoleResourceBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = 3889572077874310955L;

    @Schema(description = "角色编号")
    private Long roleId;

    @Schema(description = "资源编号")
    private String resourceNo;

    @Schema(description = "公司编号")
    private String companyNo;

}
